<?php
class AppConfiguration
{
    const CONFIG_MQ = '/data/mytvplus/portal_service/conf/consumer.xml';
    const CONFIG_FILE = '/data/mytvplus/portal_service/conf/config.xml';
    const PORTAL_CONFIG_FILE = '/data/mytvplus/portal_service/conf/config.xml';

    const LUCENE_XML_PATH_PC1 = '/data/search_builder/raw';
    const LUCENE_XML_PATH_PC2 = '/data/search_builder/raw';
    const LUCENE_CONFIG_FILE = '/data/mytvplus/portal_service/conf/lucene.xml';
    // get video period 5 minute
    const PERIOD = 5;

	const LOG_OP_PUBLISH = 4;
	const LOG_OP_PUBLISH_FAILED = 9;
	const LOG_OP_PREMIUM_PUBLISH = 11;
	const LOG_OP_PREMIUM_PUBLISH_FAILED = 15;
	const LOG_OP_UNPUBLISH = 5;
	const LOG_OP_UNPUBLISH_FAILED = 10;
	const LOG_OP_PREMIUM_UNPUBLISH = 12;
	const LOG_OP_PREMIUM_UNPUBLISH_FAILED = 16;

    const STATUS_PUBLISH = 3; // non-premium
    const STATUS_UNPUBLISH = 4; // non-premium
    const STATUS_LOG_FAILED  = 6;
    const STATUS_PUBLISH_PREMIUM = 8;
    const STATUS_UNPUBLISH_PREMIUM = 9;
    const STATUS_LOG_FAILED_PREMIUM = 12;

    public static $info_type_id = array(
        'info_address' => 1,
        'info_award' => 2,
        'info_biography' => 3,
        'info_general_information' => 4,
        'info_product' => 5,
        'info_q_a' => 6,
        'info_recipe' => 7,
        'info_song' => 8,
        'info_pageant' => 9,
    );


}

final class AC extends AppConfiguration
{
}
?>
